package com.wj.console.graphql.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.wj.console.hello.entity.Student;
import com.wj.console.hello.page.StudentPage;

public interface UserDao {
	
	public int queryByCount(StudentPage page)throws Exception;
	
	public List<Student> queryByParams(StudentPage page)throws Exception;
	
	public Student queryStudentById(String id)throws Exception;
	
	public void saveStudent(Student Student)throws Exception;
	
	public void updateById(Student Student)throws Exception;
	
	public void deleteById(String id) throws Exception;
	
	public Student queryStudentByPhone(@Param("phone") String phone);
}
